//
//  HistoryHeader.h
//  LabanBrowser
//
//  Created by -Xh- on 3/11/13.
//  Copyright (c) 2013 VNG. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TwoStateButton.h"
#import "StaticVariables.h"
@class HistoryHeader;
@protocol HistoryHeaderDelegate <NSObject>

@optional
-(void)onExpandHeader:(HistoryHeader*)_header;
-(void)onCollapseHeader:(HistoryHeader*)_header;

@end

@interface HistoryHeader : UIView<TwoStateButtonDelegate>
@property (weak, nonatomic) IBOutlet UIImageView *backgroundIMV;

@property (weak, nonatomic) IBOutlet UIImageView *backgroundOverlayIMV;
@property (strong, nonatomic) IBOutlet TwoStateButton *triggerButton;
@property (strong, nonatomic) IBOutlet UILabel *title;
@property (nonatomic) int currentSectionIndex;
@property (nonatomic) id<HistoryHeaderDelegate> delegate;

-(void)initialize;
@end
